package edu.spec.rxz.week08.class1.classroom.dt;

public class Circle {

    private double radius;

    public Circle() {
        this(0);
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public Circle(double radius) {
        this.radius = radius;
    }

    public double getArea() {
        return 3.14 * radius * radius;
    }

    public double getPerimeter() {
        return 3.14 * radius * 2;
    }
}
